import CryptoJS from 'crypto-js'

// 测试密码
const testPasswords = [
  'Kodak',
  'admin123',
  'test@password',
  '中文密码测试'
]

// 测试加密
console.log('MD5 加密测试结果：')
console.log('------------------------')
testPasswords.forEach(password => {
  const md5Hash = CryptoJS.MD5(password).toString()
  console.log(`原始密码: ${password}`)
  console.log(`MD5结果: ${md5Hash}`)
  console.log('------------------------')
})